import request from '@/utils/request'
// -------- 核算管理--支付作业 --------
let BASE_ADDRESS = '/financial/priceVip'
// 分页查询

export const getPriceVipListApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/list`,
        method: 'get',
        params: data
    })
}


// 修改
export const getPriceVipEditApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/edit`,
        method: 'put',
        data
    })
}

// id查询
export const getPriceVipGetInfoApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/getInfo`,
        method: 'get',
        params: data
    })
}
// 删除
export const getPriceVipStatusApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/remove`,
        method: 'delete',
        data
    })
}




//添加
export const getPriceVipAddApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/add`,
        method: 'post',
        data
    })
}